package com.inossem.warehousestorage_inossem.bean.outStorage;

import java.util.List;

/**
 * 作者：wsy on 2017/12/5 17:22
 * <p>
 * 邮箱：445979770@qq.com
 */

public class OutStorageAllocatingConfirmRequestBean {

    /**
     * stock_output_id : 123
     * refer_receipt_code : 0020000189
     * preorder_id : 20171016
     * item_list : [{"stock_output_rid":"1","refer_receipt_rid":"000010","mat_id":"650","unit_id":"92","decimal_place":"2","fty_id":"2000","location_id":"20000048","stock_qty":"150.0","send_qty":"19.0","output_qty":"1","position_list":[{"stock_output_position_id":"1","stock_id":"1","qty":"1"}]}]
     * user_list : [{"user_id":"a123457","role_id":"2"}]
     */

    private String stock_output_id;
    private String refer_receipt_code;
    private String preorder_id;
    private List<ItemListBean> item_list;
    private List<UserListBean> user_list;

    public String getStock_output_id() {
        return stock_output_id;
    }

    public void setStock_output_id(String stock_output_id) {
        this.stock_output_id = stock_output_id;
    }

    public String getRefer_receipt_code() {
        return refer_receipt_code;
    }

    public void setRefer_receipt_code(String refer_receipt_code) {
        this.refer_receipt_code = refer_receipt_code;
    }

    public String getPreorder_id() {
        return preorder_id;
    }

    public void setPreorder_id(String preorder_id) {
        this.preorder_id = preorder_id;
    }

    public List<ItemListBean> getItem_list() {
        return item_list;
    }

    public void setItem_list(List<ItemListBean> item_list) {
        this.item_list = item_list;
    }

    public List<UserListBean> getUser_list() {
        return user_list;
    }

    public void setUser_list(List<UserListBean> user_list) {
        this.user_list = user_list;
    }

    public static class ItemListBean {
        /**
         * stock_output_rid : 1
         * refer_receipt_rid : 000010
         * mat_id : 650
         * unit_id : 92
         * decimal_place : 2
         * fty_id : 2000
         * location_id : 20000048
         * stock_qty : 150.0
         * send_qty : 19.0
         * output_qty : 1
         * position_list : [{"stock_output_position_id":"1","stock_id":"1","qty":"1"}]
         */

        private String stock_output_rid;
        private String refer_receipt_rid;
        private String mat_id;
        private String unit_id;
        private String decimal_place;
        private String fty_id;
        private String location_id;
        private String stock_qty;
        private String send_qty;
        private String output_qty;
        private List<PositionListBean> position_list;

        public String getStock_output_rid() {
            return stock_output_rid;
        }

        public void setStock_output_rid(String stock_output_rid) {
            this.stock_output_rid = stock_output_rid;
        }

        public String getRefer_receipt_rid() {
            return refer_receipt_rid;
        }

        public void setRefer_receipt_rid(String refer_receipt_rid) {
            this.refer_receipt_rid = refer_receipt_rid;
        }

        public String getMat_id() {
            return mat_id;
        }

        public void setMat_id(String mat_id) {
            this.mat_id = mat_id;
        }

        public String getUnit_id() {
            return unit_id;
        }

        public void setUnit_id(String unit_id) {
            this.unit_id = unit_id;
        }

        public String getDecimal_place() {
            return decimal_place;
        }

        public void setDecimal_place(String decimal_place) {
            this.decimal_place = decimal_place;
        }

        public String getFty_id() {
            return fty_id;
        }

        public void setFty_id(String fty_id) {
            this.fty_id = fty_id;
        }

        public String getLocation_id() {
            return location_id;
        }

        public void setLocation_id(String location_id) {
            this.location_id = location_id;
        }

        public String getStock_qty() {
            return stock_qty;
        }

        public void setStock_qty(String stock_qty) {
            this.stock_qty = stock_qty;
        }

        public String getSend_qty() {
            return send_qty;
        }

        public void setSend_qty(String send_qty) {
            this.send_qty = send_qty;
        }

        public String getOutput_qty() {
            return output_qty;
        }

        public void setOutput_qty(String output_qty) {
            this.output_qty = output_qty;
        }

        public List<PositionListBean> getPosition_list() {
            return position_list;
        }

        public void setPosition_list(List<PositionListBean> position_list) {
            this.position_list = position_list;
        }

        public static class PositionListBean {
            /**
             * stock_output_position_id : 1
             * stock_id : 1
             * qty : 1
             */

            private String stock_output_position_id;
            private String stock_id;
            private String qty;

            public String getStock_output_position_id() {
                return stock_output_position_id;
            }

            public void setStock_output_position_id(String stock_output_position_id) {
                this.stock_output_position_id = stock_output_position_id;
            }

            public String getStock_id() {
                return stock_id;
            }

            public void setStock_id(String stock_id) {
                this.stock_id = stock_id;
            }

            public String getQty() {
                return qty;
            }

            public void setQty(String qty) {
                this.qty = qty;
            }
        }
    }

    public static class UserListBean {
        /**
         * user_id : a123457
         * role_id : 2
         */

        private String user_id;
        private String role_id;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getRole_id() {
            return role_id;
        }

        public void setRole_id(String role_id) {
            this.role_id = role_id;
        }
    }
}
